package gitee

import "time"

type Release struct {
	ID              int64     `json:"id"`
	TagName         string    `json:"tag_name"`
	TargetCommitish string    `json:"target_commitish"`
	Prerelease      bool      `json:"prerelease"`
	Name            string    `json:"name"`
	Body            string    `json:"body"`
	Author          User      `json:"author"`
	CreatedAt       time.Time `json:"created_at"`
	Assets          []Assets  `json:"assets"`
}

type Assets struct {
	BrowserDownloadURL string `json:"browser_download_url"`
	Name               string `json:"name,omitempty"`
}
